package com.example.basicdemo.model.domain;

import com.isyscore.os.dev.api.IsyscoreObject;

public class RegisterAppDomain implements IsyscoreObject {

    /**
     * 应用code
     */
    private String code;

    /**
     * 应用名称
     */
    private String name;

    /**
     *类型:
     * 传入5或者6
     * 传入5时, 访问应用将打开新窗口
     * 传入6时, 访问应用将在OS桌面打开新标签
     * 应用类型(3.第三方应用 5.外嵌应用 6.轻应用)
     */
    private Integer type;
    /**
     *二级类型:
     * 传入5时: 应用状态将不会被自动同步
     * 如果type为6, 该值传5
     * 二级应用类型(3.业务应用 5.前端应用)
     */
    private Integer secondType;

    /**
     *显示级别:
     * 1:显示在菜单和应用管理
     * 2:显示在应用管理
     * 3.不显示
     */
    private Integer inMenu;

    /**
     * 应用状态, 1.已启用  2.已停用  默认1
     */
    private Integer status;

    /**
     * 应用版本 v1.0.0.0 每一位数最大在99以内
     */
    private String version;

    /**
     * 应用跳转地址, 仅在type=5或者6时生效
     */
    private String redirectUrl;

    /**
     * 扩展字段
     */
    private String extend;

    /**
     * 应用简介
     */
    private String introduction;

    /**
     * 版本简介
     */
    private String versionIntroduction;

    /**
     * 功能权限回调接口
     */
    private String aclReturnUrl;

    /**
     * 数据权限回调接口
     */
    private String dacReturnUrl;

    public String getCode() {
        return code;
    }

    public RegisterAppDomain setCode(String code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public RegisterAppDomain setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public RegisterAppDomain setType(Integer type) {
        this.type = type;
        return this;
    }

    public Integer getSecondType() {
        return secondType;
    }

    public RegisterAppDomain setSecondType(Integer secondType) {
        this.secondType = secondType;
        return this;
    }

    public Integer getInMenu() {
        return inMenu;
    }

    public RegisterAppDomain setInMenu(Integer inMenu) {
        this.inMenu = inMenu;
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public RegisterAppDomain setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getVersion() {
        return version;
    }

    public RegisterAppDomain setVersion(String version) {
        this.version = version;
        return this;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public RegisterAppDomain setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
        return this;
    }

    public String getExtend() {
        return extend;
    }

    public RegisterAppDomain setExtend(String extend) {
        this.extend = extend;
        return this;
    }

    public String getIntroduction() {
        return introduction;
    }

    public RegisterAppDomain setIntroduction(String introduction) {
        this.introduction = introduction;
        return this;
    }

    public String getVersionIntroduction() {
        return versionIntroduction;
    }

    public RegisterAppDomain setVersionIntroduction(String versionIntroduction) {
        this.versionIntroduction = versionIntroduction;
        return this;
    }

    public String getAclReturnUrl() {
        return aclReturnUrl;
    }

    public RegisterAppDomain setAclReturnUrl(String aclReturnUrl) {
        this.aclReturnUrl = aclReturnUrl;
        return this;
    }

    public String getDacReturnUrl() {
        return dacReturnUrl;
    }

    public RegisterAppDomain setDacReturnUrl(String dacReturnUrl) {
        this.dacReturnUrl = dacReturnUrl;
        return this;
    }
}
